printmat — Pretty print a matrix


\begin{rail}
PrintMat : 'printmat' '(' Matrix ( String ( ',' Matrix ( ',' Matrix) ? ) ? ) ? ')' ;
\end{rail}
printmat prints the matrix specified by the first matrix argument. If the optional string argument is supplied, it is used as the title — othewise no label is used. The next argument is a string vector containing labels for each row, and the final argument is a string vector containing labels for each column. If the row or column labels are missing, labels are generated. $\Longrightarrow$ This is not an built-in function. This function is normally loaded on start-up from the printmat.r file in the standard rlib directory. Use of the -r option, incorrectly setting the RLAB_LIB_DIR environmental variable, or modifying printmat.r may make this function unavailable.

Subsections